package com.xc.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 区域表
 * </p>
 *
 * @author author
 * @since 2024-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wh_area")
public class WhArea implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 类型
     */
    private Long type;

    /**
     * 库区编码
     */
    private String code;

    /**
     * 名称
     */
    private String name;

    /**
     * 仓库id
     */
    private Long warehouseId;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 备注
     */
    private String description;

    /**
     * 规则id
     */
    private Long ruleId;

    /**
     * 自定义规则填充
     */
    private String rulePara;

    /**
     * 入口顺序号,根据仓库入库规则计算
     */
    private Integer inSn;

    /**
     * 出口顺序号，根据仓库出库规则计算
     */
    private Integer outSn;

    /**
     * 满载库区数量
     */
    private Integer fullNum;

    /**
     * 空库区数量
     */
    private Integer emptyNum;

    /**
     * 库区总数量
     */
    private Integer totalNum;

    /**
     * 版本号
     */
    private Long ver;

    private Long delFlag;

    private Date createDate;

    private String createUserId;

    private String updateUserId;

    private Date updateDate;


}
